package com.zhousb.file_retrieval_server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhousb.file_retrieval_server.domain.entity.CrContract;
import com.zhousb.file_retrieval_server.domain.so.ContractPageSo;
import com.zhousb.file_retrieval_server.domain.vo.ContractPageVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author ZhouShenBin
 * @date 2024/9/24 16:31
 * @description
 */
@Repository
public interface CrContractMapper extends BaseMapper<CrContract>{

    IPage<ContractPageVo> page(Page<?> page, @Param("so") ContractPageSo so, @Param("keywords") List<String> keywords, @Param("ownUserId")Long ownUserId);
}
